<html xmlns:th="http://www.thymeleaf.org">
    <th:block th:fragment="category_tree_index">
    
<script type="text/javascript">
          //初始化主菜单
            function sw_nav2(obj,tag)
            {
            var DisSub2 = document.getElementById("DisSub2_"+obj);
            var HandleLI2= document.getElementById("HandleLI2_"+obj);
                if(tag==1)
                {
                    DisSub2.style.display = "block";
					HandleLI2.className="current";
                }
                else
                {
                    DisSub2.style.display = "none";
					HandleLI2.className="";
                }
            }
</script>
 
    
    
  <div id="category_tree">
  <dl class="clearfix" style=" margin-top:-455px;" >
     <!--{foreach from=$categories item=cat name=no}-->
        <div  class="dt"  {if $smarty.foreach.no.iteration eq 9}style="border-bottom:none;"{/if}  onMouseOver="sw_nav2(,1);" onMouseOut="sw_nav2(,0);" 
         
        >
        
        <div id="HandleLI2_">
        <a    class="a    
        <!--{if $smarty.foreach.no.index mod 2 eq 0}-->
 <!-- {else} -->
 t 
<!-- {/if} --> 
"
 th:href="${cat.url}">
 
  <img src="/static/images/biao8.gif">
 </a>
</div>
        
        
        
<dd  id=DisSub2_ style="display:none"> 
<!--{foreach from=$cat.cat_id item=child}-->
 <a class="over_2" th:href="${child.url}"></a>  

<div class="clearfix">
<!--{foreach from=$child.cat_id item=childer}-->
<a class="over_3" th:href="${childer.url}"></a>
<!--{/foreach}-->
</div>   
       
<!--{/foreach}-->
</dd> 
</div>
<!--{/foreach}--> 
</dl>
</div>


    </th:block>
</html>